﻿using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace AVISOutBound.SSOServer.Payment.Wechat
{
    /// <summary>
    /// 微信支付签名
    /// </summary>
    public class WechatPaySign
    {
        /// <summary>
        /// 签名类型，默认为MD5，支持HMAC-SHA256和MD5
        /// </summary>
        [JsonProperty("signType")]
        public string SignType { get; set; }

        /// <summary>
        /// 随机字符串
        /// </summary>
        [JsonProperty("nonceStr")]
        public string NonceStr { get; set; }

        /// <summary>
        /// 扩展字段，预支付ID
        /// </summary>
        [JsonProperty("package")]
        public string Package { get; set; }

        /// <summary>
        /// 时间戳
        /// </summary>
        [JsonProperty("timeStamp")]
        public string Timestamp { get; set; }

        /// <summary>
        /// 支付签名
        /// </summary>
        [JsonProperty("paySign")]
        public string PaySign { get; set; }
    }
}
